package com.gome.ocean.service.yugong;

import java.util.List;

import com.github.pagehelper.Page;
import com.gome.ocean.dao.model.yugong.YgManagerBO;

public interface YgManagerService {

    boolean insertYgManagerBO(YgManagerBO ygManager);

    boolean removeYgManagerBOById(Long id);

    boolean updateYgManagerBO(YgManagerBO ygManager);

    YgManagerBO findYgManagerBOById(Long id);

    List<YgManagerBO> findUnoccupiedManagers();

    Page<YgManagerBO> findAllYgManagerBOsByProjectNames(List<String> projects, Integer pageNum, Integer pageSize);

    Page<YgManagerBO> findAllYgManager(Integer pageNum, Integer pageSize);

    boolean enabledManager(Long id);

    boolean disableManager(Long id);
}
